 |
API Documentation
|
|
|
18 class DLL_WINUI_EXPORT
Item
void setAttachedData(void *data)
virtual void importClassFromTree(nkExport::Node *rootNode) override
unsigned int getItemCount() const
virtual Item * getCurrentSelection() const
void setSelectionSpecializedCallback(listBoxSelectionCallback value)
A graphical list box.
Definition: ListBox.h:12
Item * getItemFromIndex(unsigned int index) const
virtual void * deleteItem(const nkMemory::StringView &name)
virtual bool setSelectedIndex(unsigned int index)
listBoxSelectionCallback getSelectionSpecializedCallback() const
bool setSelectedData(void *data)
virtual void exportIntrospection(nkExport::Node *rootNode) override
Item * getItemFromLabel(const nkMemory::StringView &label) const
virtual void changeItemLabel(const nkMemory::StringView &oldText, const nkMemory::StringView &newText)
Base class for any graphical component.
Definition: Component.h:12
virtual bool setSelected(const nkMemory::StringView &text)
ListBox * getParentList() const
void setLabel(const nkMemory::StringView &label)
A node in the tree structure representing the data to export / import.
Definition: Node.h:42
virtual Item * insertItem(const nkMemory::StringView &text, void *data)
nkMemory::StringView getLabel() const
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
virtual void clearItems()
virtual int getCurrentSelectionIndex() const
void setParentList(ListBox *parent)
std::function< bool(ListBox *caller)> listBoxSelectionCallback
Used by a nkWinUi::ListBox to signal a selection occurred inside.
Definition: CallbackRepository.h:103
void * getAttachedData() const
void changeItemData(const nkMemory::StringView &text, void *newData)
Encompasses all API of component NilkinsWinUi.
Definition: Button.h:7
Item * getItemFromData(void *data) const